<script setup>
const features = [
  { name: '登录/注册', path: '/login' },
  { name: '用户资料', path: '/profile' },
  { name: '卡牌市场', path: '/market' },
  { name: '卡牌详情', path: '/detail' },
  { name: '商家主页', path: '/shop' },
  { name: '购物车', path: '/cart' },
  { name: '订单历史', path: '/orders' },
  { name: '下单页', path: '/order-create' },
]
</script>

<template>
  <router-view />
</template>

<style scoped>
.main-nav {
  max-width: 600px;
  margin: 40px auto;
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafbfc;
}
ul {
  list-style: none;
  padding: 0;
}
li {
  margin: 12px 0;
  font-size: 1.1em;
}
</style>
